import request from "@/utils/request";

// 查询回收员电子围栏列表
export function listBizElectronFence(query){
  return request({
    url: "/biz/bizElectronFence/list",
    method: "get",
    params: query
  })
}

// 查询回收员电子围栏详细
export function getBizElectronFence(id){
  return request({
    url: "/biz/bizElectronFence/" + id,
    method: "get"
  })
}

// 新增回收员电子围栏
export function addBizElectronFence(data){
  return request({
    url: "/biz/bizElectronFence",
    method: "post",
    data: data
  })
}

// 修改回收员电子围栏
export function updateBizElectronFence(data){
  return request({
    url: "/biz/bizElectronFence",
    method: "put",
    data: data
  })
}

// 删除回收员电子围栏
export function delBizElectronFence(id){
  return request({
    url: "/biz/bizElectronFence/" + id,
    method: "delete"
  })
}

// 查询最大编号
export function findMaxSort(){
  return request({
    url: "/biz/bizElectronFence/findMaxSort",
    method: "get"
  })
}
// 导出回收员电子围栏
export function exportBizElectronFence (query){
  return request({
    url: "/biz/bizElectronFence/export",
    method: "get",
    params: query
  })
}
